const fn=function(x,y){
    return x+y
}  //new Function
console.log(fn.name);//获取函数名
console.log(fn.length);//形参的个数

console.log(fn.prototype);//显示原型

function Car(color){
    //const this={}//1
    this.name='su7-Ultra'
    this.lang=4800
    this.height=1400
    this.weight=1.5
    this.color=color

    //return this
}
const car1=new Car()
console.log(car1);


